<?php

class Mageex_AdvancedMenu_Model_Mysql4_AdvancedMenu extends Mage_Core_Model_Mysql4_Abstract
{
    public function _construct()
    {    
        // Note that the advancedmenu_id refers to the key field in your database table.
        $this->_init('advancedmenu/advancedmenu', 'advancedmenu_id');
    }
}